package com.oocl.ooTest1;

public class MyBean {
	private String name;
	private JohnClass john1;
	public class JohnClass{
		public int age;
	}
	public void work(){
		final int salary=100;
		class TomClass{
			public void work1(){
				System.out.println(salary);
				System.out.println(name);
			}
		}
		TomClass tom=new TomClass();
		Object o1=new Object(){
			public void work(){
				
			}
		};
		Object o2=new String();
		
		
		
	}
}




